<?php $auth = Zend_Auth::getInstance();?>
<div id="navigator">
<?php if(!$auth->hasIdentity()): ?>

<li><a href="/user/login">Log In</a></li>
<li><a href="/user/register">Register</a></li>

<?php else: ?>
<li>Logged-In As:<?php echo $auth->getIdentity()->name ?></li>
<li><a href="/user/logout">Log Out</a></li>

<?php endif; ?>
</div>